﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace IM.Common.Message
{
    public class BusinessExceptionDTO
    {
        public BusinessExceptionENUM ExceptionType { get; set; }
        public string Message { get; set; }
        public string StackTrace {get; set;}

        protected BusinessExceptionDTO() { }

        public BusinessExceptionDTO(BusinessExceptionENUM exceptionType, string message, string stackTrace)
        {
            this.ExceptionType = exceptionType;
            this.Message = message;
            this.StackTrace = stackTrace;
        }
    }
}
